package com.zhku.onlineshop.Service;

import com.zhku.onlineshop.dto.CartItem_Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CartService {
    boolean AddIntoCart(Integer user_id,Integer product_id);

    List<CartItem_Product> GetCartByID(Integer user_id);

    boolean ReduceProductNum(Integer userId, Integer productId);

    boolean DelProduct(Integer userId, Integer productId);
}
